package com.ruicar.afs.cloud.image.condition;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.bizcommon.enums.rules.RuleStatus;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 附件规则信息
 * @Author: tiankai
 * @Date: 2020/7/14 19:44
 */
@Data
public class ComAttachmentRuleCondition {
    int pageSize;
    int pageNumber;
    /**
     * 参数ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 附件编号
     */
    private String attachmentId;
    /**
     * 参数值
     */
    private String ruleValue;
    /**
     * 规则名称
     */
    private String ruleName;
    /**
     * 创建时间
     */
    public Date createTime;
    /**
     * 规则状态
     */
    private String ruleState;
    /**
     * 规则ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ruleId;
    /**
     * 规则编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ruleNo;
    /**
     * 状态;new-创建
     * active-生效
     * expired-失效
     */
    private RuleStatus status;
    /**
     * 版本
     */
    private Integer ruleVersion;
    /**
     * 规则名称
     */
    private String regulationName;
}
